<?php

namespace App\Http\Requests\Api;

/**
 * 令牌表单验证
 * Class TokenRequest
 * @package App\Http\Requests\Api
 */
class TokenRequest extends BaseRequest
{
    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
//            'id' => ['integer'],
            'email' => ['required', 'email'],
            'password' => ['required', 'min:8']
        ];
    }
}
